package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcOldmanSanitationRecord;
import com.csun.cmny.provider.model.dto.sanitation.SanitationRecordSaveDto;
import com.csun.cmny.provider.model.dto.sanitation.SanitationRecordSelectDto;
import com.csun.cmny.provider.model.dto.sanitation.SanitationRecordUpdateDto;
import com.csun.cmny.provider.model.vo.sanitation.HuaLongSanitationVo;
import com.csun.cmny.provider.model.vo.sanitation.SanitationRecordVo;

import java.util.List;

public interface OmcOldmanSanitationRecordService extends IService<OmcOldmanSanitationRecord> {
    int addSanitationRecord(SanitationRecordSaveDto sanitationRecordSaveDto, LoginAuthDto loginAuthDto);

    List<SanitationRecordVo> selectSanitationRecord(SanitationRecordSelectDto sanitationRecordSaveDto);

    int updateSanitationRecord(SanitationRecordUpdateDto sanitationRecordUpdateDto);

    /**
     * 根据老人Id和月份查询个人卫生记录
     *
     * @param elderId   老人Id
     * @param month     月份(yyyy-MM)
     *
     * @return  the list.
     */
    List<HuaLongSanitationVo> queryElderAndMonth(Integer elderId, String month);
}
